import { View } from '@tarojs/components'
import Card from 'components/CodeCard'
import code from './code.md'
import s from './index.module.scss'

export default function Background() {
  return(
    <View>
      <Card
        title='bakcground-color'
        desc='改变背景颜色: 从 aqua 色变成了 coral 色'
        renderCode={() => (
          <wemark md={code} link highlight type='wemark' />
        )}
      >
        <View className={s.container}>
          <View className={s.box_1}></View>
        </View>
      </Card>
    </View>
  )
}